import json
data = {
  "stu": "yy",
  "age": 26,
  "gender": 'female'
}
print(type(data))
data1=json.dumps(data)
print(type(data1))
data2=json.loads(data1)
print(type(data2))